/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 方法描述:添加财务信息 ,请求方式:POST 参数:comFinanceDto ,返回值:JsonResult ,是否可用: ok
     * @param comFinanceDto  comFinanceDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'saveComFinance': {url: '/cms/v2/api/com/finance', method: 'post'},

     /*
     * 方法描述:根据企业id 获取当前企业所有财务信息 ,请求方式:GET ,参数:companyFinanceSearchDto ,返回值:JsonResult<PageResult<ComFinanceVO>> ,是否可用: ok
     * @param pageParam.pageIndex    Required:[false]  Type:[integer]  Location:[query]
     * @param pageParam.pageSize    Required:[false]  Type:[integer]  Location:[query]
     * @param companyId  工商 id  Required:[false]  Type:[integer]  Location:[query]
     */
    'getComFinanceByCompanyId': {url: '/cms/v2/api/com/finance', method: 'get'},

     /*
     * 方法描述:编辑财务信息 ,请求方式: PUT 参数:comFinanceDto ,返回值:JsonResult ,是否可用: ok
     * @param comFinanceDto  comFinanceDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'updateComFinance': {url: '/cms/v2/api/com/finance', method: 'put'},

     /*
     * 方法描述:在事件中根据标的企业id和时间查询某时间具体财务财务信息 ,请求方式:GET ,参数:financeInEventDto ,返回值:JsonResult<List<ComFinanceVO>> ,是否可用: ok
     * @param companyId  企业id  Required:[false]  Type:[integer]  Location:[query]
     * @param startTime  开始时间  Required:[false]  Type:[string]  Location:[query]
     * @param endTime  结束时间  Required:[false]  Type:[string]  Location:[query]
     */
    'getCompanyFinanceByTime': {url: '/cms/v2/api/com/financeByTime', method: 'get'},

     /*
     * 方法描述:根据财务信息id 获取当前某条财务信息信息 ,请求方式:GET ,参数:id ,返回值:JsonResult<ComFinanceVO> ,是否可用: ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     */
    'getComFinanceById': {url: '/cms/v2/api/com/finance/{id}', method: 'get'},

     /*
     * 方法描述:删除当前财务信息数据(该方法为真删除,请提示) ,请求方式: DELETE ,参数:id ,返回值:JsonResult ,是否可用: ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'deleteComFinanceById': {url: '/cms/v2/api/com/{id}/finance', method: 'delete'},

     /*
     * 方法描述:删除某一个审计公司(该方法为真删除,请提示) ,请求方式: DELETE ,参数:id ,返回值:JsonResult ,是否可用: ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'deleteComFinanceAuditById': {url: '/cms/v2/api/com/finance/{id}/audit', method: 'delete'},

};

 export default api;
